package com.my12306.third.service;

import com.my12306.third.model.vo.OssPolicyResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author:苏牧夕
 * @Date:2020/5/13 23:44
 * @Version 1.0
 */
public interface OssService {
    /**
     * oss上传策略
     *
     * @return
     */
    public OssPolicyResult policy();

    public String ossFileUpload(MultipartFile file) throws IOException;
}
